scrolledwindow: Stop using scroll cursors
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Apr 2021 12:26:09 +0000 (08:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Apr 2021 12:26:09 +0000 (08:26 -0400)
commit9313d4b6b4368f5615d3fb65dac63411e22e9fa7
tree2387ed2b64ec057449960478886774cb7b046a15
parent5d0a3bd4cb2f8f3f992106b8ce2e13bd1fd50410
scrolledwindow: Stop using scroll cursors

We used to override cursor to use all-scroll while the
content is being scrolled. Unfortunately, there is several
problems with this:
- It is really only expected certain devices, and we don't
  have the device information on Wayland
- With the way cursor setting works in GTK4, non-NULL cursors
  of the content (eg the text views ibeam) win, making the
  scroll cursor not show up
- Under X11, we seem to miss scroll end events and then
  the scroll cursor gets stuck
Therefore, just remove this feature.
gtk/gtkscrolledwindow.c